Get Publication GET
Gets a published data set from the CASI Data Designer.
In XML and JSON formats the Data element contains the current published version of the data set. The LastBuild, NextBuild and ScheduleFrequency detail when the data set was last updated and when it is scheduled be refreshed.
The data set may also be downloaded directly in CSV or Excel (.xls or .xlsx) formats by specifying the appropriate content type in the Accept header, or by using the URL quoted on the test tab.
Response Parameters
Parameter | Name | Type | Description |
Name | | String (Optional) | |
Description | | String (Optional) | |
LastBuilt | | Date / Time (Optional) | |
NextBuild | | Date / Time (Optional) | |
ScheduleFrequency | | Date / Time (Optional) | |
Example Request
GET https://api.casi.services/v1/schemes/{scheme}/reports/datasets/{publication}.eb HTTP/1.1
Accept: text/xml
Response Schema
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Publication">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Name" minOccurs="0" type="xsd:string" />
<xsd:element name="Description" minOccurs="0" type="xsd:string" />
<xsd:element name="LastBuilt" minOccurs="0" type="xsd:dateTime" />
<xsd:element name="NextBuild" minOccurs="0" type="xsd:dateTime" />
<xsd:element name="ScheduleFrequency" minOccurs="0" type="xsd:dateTime" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Example Response
HTTP/1.1 200 OK
Content-Type: text/xml
<?xml version="1.0" encoding="utf-8"?>
<Publication>
<Name>xsd:string</Name>
<Description>xsd:string</Description>
<LastBuilt>xsd:dateTime</LastBuilt>
<NextBuild>xsd:dateTime</NextBuild>
<ScheduleFrequency>xsd:dateTime</ScheduleFrequency>
</Publication>
Example Request
GET https://api.casi.services/v1/schemes/{scheme}/reports/datasets/{publication}.eb HTTP/1.1
Accept: application/json
Example Response
HTTP/1.1 200 OK
Content-Type: application/json
{"Name":String,
"Description":String,
"LastBuilt":String,
"NextBuild":String,
"ScheduleFrequency":String}
Example Request
GET https://api.casi.services/v1/schemes/{scheme}/reports/datasets/{publication}.eb HTTP/1.1
Accept: text/csv
Example Response
HTTP/1.1 200 OK
Content-Type: text/csv
...
Example Request
GET https://api.casi.services/v1/schemes/{scheme}/reports/datasets/{publication}.eb HTTP/1.1
Accept: application/vnd.ms-excel
Example Response
HTTP/1.1 200 OK
Content-Type: application/vnd.ms-excel
...
Example Request
GET https://api.casi.services/v1/schemes/{scheme}/reports/datasets/{publication}.eb HTTP/1.1
Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Example Response
HTTP/1.1 200 OK
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
...